home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / network / atre12.zip / MULTIPLY.LF < prev    next >
Text File  |  1991-07-05  |  6KB  |  355 lines

  1. #******************************************************************************
  2. # ****                                                                     ****
  3. # **** lf_multiply                                                         ****
  4. # ****                                                                     ****
  5. # **** Copyright (C) A. Dwelly and W.W. Armstrong, 1990.                   ****
  6. # ****                                                                     ****
  7. # **** All rights reserved.                                                ****
  8. # ****                                                                     ****
  9. # **** Attachment of copyright does not imply publication.                 ****
  10. # **** This file contains information which is proprietary                 ****
  11. # **** to the authors.                                                     ****
  12. # ****                                                                     ****
  13. # **** This is an lf example that learns the multiplication table from a   ****
  14. # **** complete training set. It takes about 20 minutes to run on a        ****
  15. # **** Sun Sparcstation 1 with 8M ram. This is the adaptive                ****
  16. # **** logic network package based on work done by Prof. W. W. Armstrong   ****
  17. # **** and others in the Department of Computing Science, University of    ****
  18. # **** Alberta, and previous work at the Universite de Montreal, and at    ****
  19. # **** AT&T Bell Laboratories, Holmdel, N. J.  The software demonstrates   ****
  20. # **** that networks consisting of many layers of linear threshold         ****
  21. # **** elements can indeed be effectively trained.                         ****
  22. # ****                                                                     ****
  23. # **** License:                                                            ****
  24. # **** A royalty-free license is granted for the use of this software for  ****
  25. # **** NON_COMMERCIAL PURPOSES ONLY. The software may be copied and        ****
  26. # **** modified provided this notice appears in its entirety and unchanged ****
  27. # **** in all copies, whether changed or not.  Persons modifying the code  ****
  28. # **** are requested to state the date, the changes made and who made them ****
  29. # **** in the modification history.                                        ****
  30. # ****                                                                     ****
  31. # **** Warranty:                                                           ****
  32. # **** No warranty of any kind is provided with this software.             ****
  33. # **** This software is not supported, and is made available only under    ****
  34. # **** the condition that the authors not be held responsible for damages  ****
  35. # **** of any kind arising through use of the software, however caused.    ****
  36. # ****                                                                     ****
  37. # **** Patent:                                                             ****
  38. # **** The use of a digital circuit which transmits a signal indicating    ****
  39. # **** heuristic responsibility is protected by U. S. Patent 3,934,231     ****
  40. # **** and others assigned to Dendronic Decisions Limited of Edmonton,     ****
  41. # **** W. W. Armstrong, President.                                         ****
  42. # ****                                                                     ****
  43. # **** Modification history:                                               ****
  44. # ****                                                                     ****
  45. # **** 5.9.90 Initial implementation, A.Dwelly                             ****
  46. # ****                                                                     ****
  47. # *****************************************************************************
  48. tree
  49.     size = 4000
  50.     min correct  = 143
  51.     max epochs  = 20
  52.  
  53. function
  54.     domain dimension = 2
  55.     coding = 32:12 32:12 32:7
  56.     quantization = 12 12 144
  57.     training set size = 144
  58.     training set =
  59.  
  60.  
  61. 1    1    1
  62. 1    2    2
  63. 1    3    3
  64. 1    4    4
  65. 1    5    5
  66. 1    6    6
  67. 1    7    7
  68. 1    8    8
  69. 1    9    9
  70. 1    10    10
  71. 1    11    11
  72. 1    12    12
  73. 2    1    2
  74. 2    2    4
  75. 2    3    6
  76. 2    4    8
  77. 2    5    10
  78. 2    6    12
  79. 2    7    14
  80. 2    8    16
  81. 2    9    18
  82. 2    10    20
  83. 2    11    22
  84. 2    12    24
  85. 3    1    3
  86. 3    2    6
  87. 3    3    9
  88. 3    4    12
  89. 3    5    15
  90. 3    6    18
  91. 3    7    21
  92. 3    8    24
  93. 3    9    27
  94. 3    10    30
  95. 3    11    33
  96. 3    12    36
  97. 4    1    4
  98. 4    2    8
  99. 4    3    12
  100. 4    4    16
  101. 4    5    20
  102. 4    6    24
  103. 4    7    28
  104. 4    8    32
  105. 4    9    36
  106. 4    10    40
  107. 4    11    44
  108. 4    12    48
  109. 5    1    5
  110. 5    2    10
  111. 5    3    15
  112. 5    4    20
  113. 5    5    25
  114. 5    6    30
  115. 5    7    35
  116. 5    8    40
  117. 5    9    45
  118. 5    10    50
  119. 5    11    55
  120. 5    12    60
  121. 6    1    6
  122. 6    2    12
  123. 6    3    18
  124. 6    4    24
  125. 6    5    30
  126. 6    6    36
  127. 6    7    42
  128. 6    8    48
  129. 6    9    54
  130. 6    10    60
  131. 6    11    66
  132. 6    12    72
  133. 7    1    7
  134. 7    2    14
  135. 7    3    21
  136. 7    4    28
  137. 7    5    35
  138. 7    6    42
  139. 7    7    49
  140. 7    8    56
  141. 7    9    63
  142. 7    10    70
  143. 7    11    77
  144. 7    12    84
  145. 8    1    8
  146. 8    2    16
  147. 8    3    24
  148. 8    4    32
  149. 8    5    40
  150. 8    6    48
  151. 8    7    56
  152. 8    8    64
  153. 8    9    72
  154. 8    10    80
  155. 8    11    88
  156. 8    12    96
  157. 9    1    9
  158. 9    2    18
  159. 9    3    27
  160. 9    4    36
  161. 9    5    45
  162. 9    6    54
  163. 9    7    63
  164. 9    8    72
  165. 9    9    81
  166. 9    10    90
  167. 9    11    99
  168. 9    12    108
  169. 10    1    10
  170. 10    2    20
  171. 10    3    30
  172. 10    4    40
  173. 10    5    50
  174. 10    6    60
  175. 10    7    70
  176. 10    8    80
  177. 10    9    90
  178. 10    10    100
  179. 10    11    110
  180. 10    12    120
  181. 11    1    11
  182. 11    2    22
  183. 11    3    33
  184. 11    4    44
  185. 11    5    55
  186. 11    6    66
  187. 11    7    77
  188. 11    8    88
  189. 11    9    99
  190. 11    10    110
  191. 11    11    121
  192. 11    12    132
  193. 12    1    12
  194. 12    2    24
  195. 12    3    36
  196. 12    4    48
  197. 12    5    60
  198. 12    6    72
  199. 12    7    84
  200. 12    8    96
  201. 12    9    108
  202. 12    10    120
  203. 12    11    132
  204. 12    12    144
  205.  
  206.     test set size = 144
  207.     test set =
  208.  
  209. 1    1    1
  210. 1    2    2
  211. 1    3    3
  212. 1    4    4
  213. 1    5    5
  214. 1    6    6
  215. 1    7    7
  216. 1    8    8
  217. 1    9    9
  218. 1    10    10
  219. 1    11    11
  220. 1    12    12
  221. 2    1    2
  222. 2    2    4
  223. 2    3    6
  224. 2    4    8
  225. 2    5    10
  226. 2    6    12
  227. 2    7    14
  228. 2    8    16
  229. 2    9    18
  230. 2    10    20
  231. 2    11    22
  232. 2    12    24
  233. 3    1    3
  234. 3    2    6
  235. 3    3    9
  236. 3    4    12
  237. 3    5    15
  238. 3    6    18
  239. 3    7    21
  240. 3    8    24
  241. 3    9    27
  242. 3    10    30
  243. 3    11    33
  244. 3    12    36
  245. 4    1    4
  246. 4    2    8
  247. 4    3    12
  248. 4    4    16
  249. 4    5    20
  250. 4    6    24
  251. 4    7    28
  252. 4    8    32
  253. 4    9    36
  254. 4    10    40
  255. 4    11    44
  256. 4    12    48
  257. 5    1    5
  258. 5    2    10
  259. 5    3    15
  260. 5    4    20
  261. 5    5    25
  262. 5    6    30
  263. 5    7    35
  264. 5    8    40
  265. 5    9    45
  266. 5    10    50
  267. 5    11    55
  268. 5    12    60
  269. 6    1    6
  270. 6    2    12
  271. 6    3    18
  272. 6    4    24
  273. 6    5    30
  274. 6    6    36
  275. 6    7    42
  276. 6    8    48
  277. 6    9    54
  278. 6    10    60
  279. 6    11    66
  280. 6    12    72
  281. 7    1    7
  282. 7    2    14
  283. 7    3    21
  284. 7    4    28
  285. 7    5    35
  286. 7    6    42
  287. 7    7    49
  288. 7    8    56
  289. 7    9    63
  290. 7    10    70
  291. 7    11    77
  292. 7    12    84
  293. 8    1    8
  294. 8    2    16
  295. 8    3    24
  296. 8    4    32
  297. 8    5    40
  298. 8    6    48
  299. 8    7    56
  300. 8    8    64
  301. 8    9    72
  302. 8    10    80
  303. 8    11    88
  304. 8    12    96
  305. 9    1    9
  306. 9    2    18
  307. 9    3    27
  308. 9    4    36
  309. 9    5    45
  310. 9    6    54
  311. 9    7    63
  312. 9    8    72
  313. 9    9    81
  314. 9    10    90
  315. 9    11    99
  316. 9    12    108
  317. 10    1    10
  318. 10    2    20
  319. 10    3    30
  320. 10    4    40
  321. 10    5    50
  322. 10    6    60
  323. 10    7    70
  324. 10    8    80
  325. 10    9    90
  326. 10    10    100
  327. 10    11    110
  328. 10    12    120
  329. 11    1    11
  330. 11    2    22
  331. 11    3    33
  332. 11    4    44
  333. 11    5    55
  334. 11    6    66
  335. 11    7    77
  336. 11    8    88
  337. 11    9    99
  338. 11    10    110
  339. 11    11    121
  340. 11    12    132
  341. 12    1    12
  342. 12    2    24
  343. 12    3    36
  344. 12    4    48
  345. 12    5    60
  346. 12    6    72
  347. 12    7    84
  348. 12    8    96
  349. 12    9    108
  350. 12    10    120
  351. 12    11    132
  352. 12    12    144
  353.  
  354.  
  355.